package com.thinkingstar.iads.cs.sys.enumerate;

import java.util.ArrayList;
import java.util.List;

/**
 * 设计类别描述枚举
 * @author Administrator
 *
 */
public enum PROJECT_DESIGN_TYPE {
	
	设计过程("sjgc","设计过程"),
	设计专业("sjzy","设计专业"),
	设计资料("sjzl","设计资料"),
	设计单元("sjdy","设计单元"),
	设计常量("sjcl","设计常量"),
	设备设计("sbsj","设备设计");
	
	private final String code;
	private final String desc;
	
	private PROJECT_DESIGN_TYPE(String code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public String getDesc() {
		return desc;
	}

	public String getCode() {
		return code;
	}
	
	public static List <PROJECT_DESIGN_TYPE> getAll(){
		List <PROJECT_DESIGN_TYPE> list = new ArrayList<>();
		list.add(设计过程);
		list.add(设计专业);
		list.add(设计资料);
		list.add(设计单元);
		list.add(设计常量);
		list.add(设备设计);
		return list;
	}

}
